# Virtual Router Simulator 
#
# Copyright (C) 2009-2010 VRSim Project
# Author: Choonho Son <choonho@kt.com>
# URL: <http://vrsim.googlecode.com>
# For license information, see LICENSE.TXT
#

import VRSim.Globals as globals
from VRSim.Utils import debug

from VRSim.Node.Host import Host
from VRSim.Node.Domain import Domain

class WindowsXP(Host, Domain):
    def __init__(self,  nodeid):
        Host.__init__(self,  nodeid)
        Domain.__init__(self,  vnc=True,  nodeid=nodeid)
        self.model = "WindowsXP"
        self.hostname = "WindowsXP"            
        
        # update initial hdd image
        self.devices.hdd.source = "%s/%s/%s" % (globals.BASEDIR, globals.GApp.userid, globals.IMG_WINDOWSXP)
